package com.chinags.system.tJcJcjgJcyq.domain;

import com.chinags.common.annotation.Excel;
import com.chinags.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 检测机构仪器设备表 t_jc_jcjg_jcyq
 * 
 * @author shichenxing
 * @date 2019-06-20
 */
public class TJcJcjgJcyq extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 业务ID */
	private Long jcjgJcyqId;
	/** 行数（仅做数据库导出日志使用） */
	@Excel(name = "行数", type = Excel.Type.EXPORT)
	private String row;
	/** 检测机构ID */
	@Excel(name = "社会统一信用代码")
	private String jcjgId;
	/** 设备编号 */
	@Excel(name = "设备编号")
	private String equipmentNo;
	/** 设备名称 */
	@Excel(name = "设备名称")
	private String equipmentName;
	/** 设备型号 */
	@Excel(name = "设备型号")
	private String equipmentTypeNo;
	/** 是否校验 */
	@Excel(name = "是否校验", readConverterExp = "0=否,1=是")
	private Integer isCheck;
	/** 校验结果 */
	@Excel(name = "校验结果")
	private String checkResult;
	/** 校验单位 */
	@Excel(name = "校验单位")
	private String checkStation;
	/** 检测证书编号 */
	@Excel(name = "检测证书编号")
	private String certificateNum;
	/** 校验日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date checkTime;
	/** 有效日期 */
	@Excel(name = "有效日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date validityDate;
	/** 创建人 */
	private Long createUser;
	/** 操作人 */
	private Long updateUser;
	/** 有效期起 */
	private Date startTime;
	/** 有效期止 */
	private Date endTime;

	public void setJcjgJcyqId(Long jcjgJcyqId) 
	{
		this.jcjgJcyqId = jcjgJcyqId;
	}

	public Long getJcjgJcyqId()
	{
		return jcjgJcyqId;
	}
	public void setJcjgId(String jcjgId)
	{
		this.jcjgId = jcjgId;
	}

	public String getJcjgId()
	{
		return jcjgId;
	}
	public void setEquipmentNo(String equipmentNo) 
	{
		this.equipmentNo = equipmentNo;
	}

	public String getEquipmentNo() 
	{
		return equipmentNo;
	}
	public void setEquipmentName(String equipmentName) 
	{
		this.equipmentName = equipmentName;
	}

	public String getEquipmentName() 
	{
		return equipmentName;
	}
	public void setEquipmentTypeNo(String equipmentTypeNo) 
	{
		this.equipmentTypeNo = equipmentTypeNo;
	}

	public String getEquipmentTypeNo() 
	{
		return equipmentTypeNo;
	}
	public void setIsCheck(Integer isCheck) 
	{
		this.isCheck = isCheck;
	}

	public Integer getIsCheck() 
	{
		return isCheck;
	}
	public void setCheckResult(String checkResult) 
	{
		this.checkResult = checkResult;
	}

	public String getCheckResult() 
	{
		return checkResult;
	}
	public void setCheckStation(String checkStation) 
	{
		this.checkStation = checkStation;
	}

	public String getCheckStation() 
	{
		return checkStation;
	}
	public void setCheckTime(Date checkTime) 
	{
		this.checkTime = checkTime;
	}

	public Date getCheckTime() 
	{
		return checkTime;
	}
	public void setValidityDate(Date validityDate)
	{
		this.validityDate = validityDate;
	}

	public Date getValidityDate()
	{
		return validityDate;
	}
	public void setCreateUser(Long createUser)
	{
		this.createUser = createUser;
	}

	public Long getCreateUser() 
	{
		return createUser;
	}
	public void setUpdateUser(Long updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Long getUpdateUser() 
	{
		return updateUser;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jcjgJcyqId", getJcjgJcyqId())
            .append("jcjgId", getJcjgId())
            .append("equipmentNo", getEquipmentNo())
            .append("equipmentName", getEquipmentName())
            .append("equipmentTypeNo", getEquipmentTypeNo())
            .append("isCheck", getIsCheck())
            .append("checkResult", getCheckResult())
            .append("checkStation", getCheckStation())
            .append("certificateNum", getCertificateNum())
            .append("validityDate", getValidityDate())
			.append("createUser", getCreateUser())
			.append("checkTime", getCheckTime())
			.append("startTime", getStartTime())
			.append("row", getRow())
			.append("endTime", getEndTime())
			.append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getCertificateNum() {
		return certificateNum;
	}

	public void setCertificateNum(String certificateNum) {
		this.certificateNum = certificateNum;
	}

	public String getRow() {
		return row;
	}

	public void setRow(String row) {
		this.row = row;
	}
}
